package nodes.declarations;

import visitors.Visitor;

public final class DeclarationListNode extends DeclarationNode
{
    public DeclarationNode left;
    public DeclarationListNode right;

    public DeclarationListNode(DeclarationNode left, DeclarationListNode right)
    {
        this.left = left;
        this.right = right;
    }

    @Override
    public Object accept(Visitor v)
    {
        return v.visit(this);
    }
}